<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!-- 共用头部开始 -->
        <div id="head">
            <div class="header">
                <div class="headerArea">
                    <!-- 顶部左侧 -->
                    <ul class="headerTopLeft">
                        <!--如果用户已经登录就显示-->
                            <?php if($hd['session']['uname']!==NULL){ ?>
                            <li>您好,
                                <a href="" class="name">
                                    <?php echo $hd['session']['uname'];?>
                                </a>
                            </li>
                            <li class="myVancl1"><a href="<?php echo U('Login/out');?>">退出登陆</a><span class="shu">|</span><a href="<?php echo U('Index/Login/index');?>">更换用户</a></li>
                            <?php }else{ ?>
                            <li>您好,欢迎光临凡客诚品！</li>
                            <!--默认跳转到index.phpc=Login执行login控制器，a=index执行index方法    注册：默认跳转index.phpc=Register执行Register控制器，a=index,默认执行index方法-->
                            <li class="myVancl"><a href="<?php echo U('Login/index');?>">登陆</a><span class="shu">|</span><a href="<?php echo U('Register/index');?>">注册</a></li>
                        <?php } ?>
                        <li class="myVancl"><a href="">我的订单</a></li>
                        <li class="myVancl"><a href="">收藏本站</a></li>
                    </ul>
                    <!-- 顶部右侧 -->
                    <div class="headerTopRight">
                        <div class="headerTopRight_fanke" id="b">
                            <a href="" class="a_hover">我的凡客</a>
                            <span class="triangle"></span>
                            <ul class="my_fk" id="n">
                                <a href="<?php echo U('Center/index');?>" class="a_hover">我的凡客</a><span class="triangle"></span>
                                <li>
                                    <a href="<?php echo U('Center/index');?>" class="a_d">我的订单</a></li>
                                <li>
                                    <a href="<?php echo U('MyAddress/index');?>" class="a_d1">我的收货地址</a></li>
                            </ul>
                        </div>
                        <div class="headerTopRight_daohang" id="b">
                            <a href="" class="a_hover">网站导航</a>
                            <span class="triangle"></span>
                            <ul class="my_fk" id="n">
                                <a href="" class="a_hover">网站导航</a><span class="triangle"></span>
                                <li>
                                    <a href="" class="a_d">网站联盟</a></li>
                            </ul>
                        </div>
                        <div class="headerTopRight_bangzhu" id="b">
                            <a href="" class="a_hover">帮助中心</a>
                            <span class="triangle"></span>
                            <ul class="my_fk" id="n">
                                <a href="" class="a_hover">帮助中心</a><span class="triangle"></span>
                                <li>
                                    <a href="" class="a_d gouwu">购物指南</a>
                                </li>
                                <li>
                                    <a href="" class="a_d1 peisong">配送方式</a>
                                </li>
                                <li>
                                    <a href="" class="a_d2 zhifu">支付方式</a>
                                </li>
                                <li>
                                    <a href="" class="a_d3 shouhou">售后服务</a>

                                    <a href="" class="a_d4 tousu">投诉建议</a>

                                    <a href="" class="a_d5 kefu">在线客服</a>
                                </li>
                            </ul>
                        </div>
                        <div class="headerTopRight_gonggao" id="b">
                            <a href="" class="a_hover">网站公告</a>
                            <span class="triangle"></span>
                            <ul class="my_fk" id="n">
                                <a href="" class="a_hover">网站公告</a><span class="triangle"></span>
                                <li>
                                    <a href="" class="a_d zhongyao">网站公告</a>
                                </li>
                                <li>
                                    <a href="" class="a_d1 zhongyaotishi">重要提示</a>
                                </li>
                                <li>
                                    <a href="" class="a_d2 zhifutongzhi">支付通知</a>
                                </li>
                                <li>
                                    <a href="" class="a_d3 huiyuangonggao">会员公告</a>
                                </li>

                            </ul>
                        </div>
                        <div class="headerTopRight_shouji">
                            <a href="" class="a_hover">手机凡客</a>
                            <span class="triangle"></span>
                        </div>
                        <div class="headerTopRight_kefu">
                            <a href="" class="a_hover">在线客服</a>
                            <span class="triangle"></span>
                        </div>
                        <div class="headerTopRight_weixin">
                            <a href="" id="weixin1"><img src="http://hd.com/project/hdphp_fk_cms/Static/Index/images/w1.jpg" alt="" /></a>
                            <a href=""><img src="http://hd.com/project/hdphp_fk_cms/Static/Index/images/w2.jpg" alt="" /></a>
                            <span id="weixin" style="display:none;"><img src="http://hd.com/project/hdphp_fk_cms/Static/Index/images/weixin.png" alt="" /></span>
                        </div>
                    </div>
                    <!-- headerTopRight -->

                </div>
            </div>
            <!-- 顶部左侧logo -->
            <div id="logoArea">
                <div class="VanclLogo">
                    <a href="<?php echo U('Index/Index');?>" class="track"></a>
                </div>
                <!-- 顶部右侧搜索条 -->
                <div class="VanclSearch">
                    <div class="SearchTab">
                        <!-- 搜索框开始 -->
                        <div class="Search">
                            <form action="" method="post">
                                <input type="text" class="SearchText" placeholder="搜“卡其裤”，体验与众不同" />
                                <input type="submit" class="Searchbtn" value="搜索" />
                            </form>

                        </div>
                        <!-- 搜索框结束 -->
                        <!-- 购物车 -->
                        <div class="shoppingcar" id="shoppingcar">
                            <a class="shopping">&nbsp;&nbsp;&nbsp;购物车(0)</a>
                            <span class="shopping_h" id="shopping_h">您的购物车没有任何商品</span>
                        </div>
                        <!-- 购物车结束 -->
                    </div>

                    <div class="HotSearch">
                        <p>
                            热门搜索：
                            <a href="">吉国武</a>
                            <a href="">T恤</a>
                            <a href="">卡其裤</a>
                            <a href="">长场雄</a>
                            <a href="">POLO</a>
                            <a href="">麻</a>
                            <a href="">牛仔</a>
                            <a href="">皮肤衣</a>
                            <a href="">牛津纺</a>
                        </p>
                    </div>
                </div>
                <!-- 顶部右侧搜索条结束 -->
            </div>
            <!-- 顶部logo结束 -->

            <!-- 全部商品分类 -->
            <div id="mainBox">
                <div class="allProduct">
                    <a href="javascript:;" class="fl">全部商品分类</a>
                </div>
                <!-- 右侧导航开始 -->
                <ul class="category">
                    <?php foreach ($cataData as $k=>$v){?>
                        <li class="item itempic"><a href="<?php echo U('List/index',array('cid'=>$v['cid']));?>" class="track"><?php echo $v['name'];?></a>
                            <!--隐藏分类商品开始-->
                            <div class="con">
                                <?php foreach ($v['son'] as $kk=>$vv){?>
                                    <div class="pic_content">
                                        <div class="pic">
                                            <a href="<?php echo U('Index/Content/index',array('gid'=>$vv['gid'],'type_tid'=>$vv['type_tid']));?>">
                                                <img src="http://hd.com/project/hdphp_fk_cms/<?php echo $vv['pic'];?>" alt="" />
                                            </a>
                                        </div>
                                        <div class="content">
                                            <h3><a href="<?php echo U('Index/Content/index',array('gid'=>$vv['gid'],'type_tid'=>$vv['type_tid']));?>"><?php echo $vv['gname'];?></a></h3>
                                            <span>￥<?php echo $vv['shop_price'];?></span>
                                        </div>
                                    </div>
                                <?php }?>
                            </div>              
                            <!--隐藏分类商品结束-->        
                        </li>
                    <?php }?>
                </ul>
                <!-- 右侧导航结束 -->
            </div>
            <!-- 全部商品分类结束 -->
        </div>
        <!-- 共用头部结束 -->